package com.cn.wanxi.service.impl;


import com.cn.wanxi.dao.BaseDao;
import com.cn.wanxi.dao.impl.ProductImpl;

import java.util.List;
import java.util.Map;


public class ProductService {
    private BaseDao baseDao = new ProductImpl();

    public List<Map> getProduct(Object object) {
        return baseDao.getList(object);
    }

    public List<Map> getDataNum(Object object) {
        return baseDao.getDataNum(object);
    }
    public int update(Object object){
        return baseDao.update(object);
    }
    public int add(Object object){
        return  baseDao.add(object);
    }
    public int delete(Object object){
        return baseDao.delete(object);
    }
}
